package com.ims.core.enums;

/**
 * 专票额度
 * 1000    千元版
 * 10000    万元版
 * 100000    十万元版
 * 1000000    百万元版
 * 10000000    千万元版
 * @author IMS
 */
public enum SpecialTicketLimit {
    ONE_THOUSAND(1000, "千元版"),
    TEN_THOUSAND(10000, "万元版"),
    ONE_HUNDRED_THOUSAND(100000, "十万元版"),
    ONE_MILLION(1000000, "百万元版"),
    TEN_MILLION(10000000, "千万元版");

    private final int code;
    private final String name;

    SpecialTicketLimit(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}